package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap52 extends OSMap
	{
		public function OSMap52()
		{
			super();

			var ground:OSGround = new OSGround(600, 540, 180, 20, 45, false);
			ground.setBorders(true, true);
			addBackground(ground);

			ground = new OSGround(740, 680, 180, 20, 45, false);
			ground.setBorders(true, true);
			addBackground(ground);

			ground = new OSGround(0, 740, 120, 340, 0, false);
			ground.setNoErosionDown([96, 97, 98, 99, 100, 101]);
			ground.setNoErosionLeft([0, 6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96]);
			ground.setNoErosionRight([5, 41, 47, 53, 59, 65, 71, 77, 83, 89, 95, 101]);
			ground.erode();
			add(ground);

			ground = new OSGround(120, 860, 780, 220, 0, false);
			ground.setNoErosionUp([14, 24]);
			ground.setNoErosionDown([390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428]);
			ground.setNoErosionLeft([0, 39, 78, 117, 156, 195, 234, 273, 312, 351, 390]);
			ground.setNoErosionRight([38, 77, 116, 155, 194, 233, 272, 311, 350, 389, 428]);
			ground.erode();
			add(ground);

			ground = new OSGround(100, 680, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(260, 620, 140, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([6]);
			ground.erode();
			add(ground);

			ground = new OSGround(240, 540, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(400, 480, 220, 20, 0, false);
			ground.setNoErosionDown([0, 10]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([10]);
			ground.erode();
			add(ground);

			ground = new OSGround(400, 500, 20, 360, 0, false);
			ground.setNoErosionUp([0]);
			ground.setNoErosionDown([17]);
			ground.setNoErosionLeft([6]);
			ground.setNoErosionRight([6]);
			ground.erode();
			add(ground);

			ground = new OSGround(420, 620, 180, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([8]);
			ground.erode();
			add(ground);

			ground = new OSGround(600, 500, 20, 360, 0, false);
			ground.setNoErosionUp([0]);
			ground.setNoErosionDown([17]);
			ground.setNoErosionLeft([6]);
			ground.setNoErosionRight([6]);
			ground.erode();
			add(ground);

			ground = new OSGround(600, 540, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(620, 620, 140, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([6]);
			ground.erode();
			add(ground);

			ground = new OSGround(740, 680, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(900, 740, 60, 340, 0, false);
			ground.setNoErosionDown([48, 49, 50]);
			ground.setNoErosionLeft([0, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48]);
			ground.setNoErosionRight([2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 50]);
			ground.erode();
			add(ground);

		}
	}
}
